const state = {
	update: true,
	master: [],
	shfe: [],
	list: [],
	DCE_key: [],
	SHFE_key: [],
	CZCE_key: [],
	ninght_key: [],
	CFFEX_key: [],
	dshow: ''
}

const mutations = {
	setAlldata(state, payload) {
		Object.keys(payload).map((v) => {
			state[v] = payload[v]
		})
	}
}

const actions = {
	setAlldata({
		commit
	}, payload) {
		commit('setAlldata', payload)
	}
}

export default {
	state,
	mutations,
	actions
}
